<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" href="css/style.css">
  </head>
  <body>
    <div id="div_1">
    	<dl>
        	<dt class="menue"><a href="../loginSuccess.jsp">登陆信息</a></dt>
            <dt class="menue"><a href="goodsBuy.jsp">在线购物</a></dt>
            <dt class="menue">购物列表</dt>
            <dt class="menue"><s:form action="logout.action" method="post"><s:submit value="logout"></s:submit></s:form> </dt>
        </dl>
    </div>
    <div id="welcom">
    	<p>
    		您好，<s:property value="userInfo.userName"></s:property>，欢迎登陆沃尔玛在线购物购物广场！
    	</p>
    </div>
    <div>
    	<p>您的登陆信息如下：</p>
        <hr>
                                      昵称：<s:property value="userInfo.userName"></s:property> <br>
		          密码：<s:property value="userInfo.password"></s:property><br>
		          年龄：<s:property value="userInfo.userAge"></s:property><br>
		          性别：<s:property value="userInfo.userGender"></s:property><br>
		          住址：<s:property value="userInfo.userAddress"></s:property><br>
		          邮编：<s:property value="userInfo.userPostalcode"></s:property><br>
		          电话：<s:property value="userInfo.userPhone"></s:property><br>
        <hr>
    </div>
    <div>
    	<span>
        	<a href="goodsBuy.jsp" >进入商场</a>
        </span>
    </div>
  </body>
</html>
